﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Sharp.Infrastructure.Interfaces;

namespace Sharp.DataTransferObject
{
    /// <summary>
    /// 员工
    /// </summary>
    [Serializable]
    public class EmployeeDTO : PersonDTO, IDTO
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 岗位
        /// </summary>

        public int? JobId { get; set; }

        /// <summary>
        /// 参加工作
        /// </summary>

        public string WorkDate { get; set; }

        /// <summary>
        /// 相片
        /// </summary>
        public string PicUrl { get; set; }

        /// <summary>
        /// 职务
        /// </summary>
        public string JobTitle { get; set; }

        /// <summary>
        /// 紧急联系人
        /// </summary>
        public string UrgentContact { get; set; }
        /// <summary>
        /// 紧急联系电话
        /// </summary>
        public string UrgentPhone { get; set; }
        /// <summary>
        /// 添加日期
        /// </summary>
        /// <value>添加日期</value>
        public System.DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 录入员的id
        /// </summary>
        /// <value>录入员的id</value>
        public int? CreatedUserId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        /// <value>修改时间</value>
        public System.DateTime? ModifiTime { get; set; }
        /// <summary>
        /// 修改数据的用户Id
        /// </summary>
        /// <value>修改数据的用户Id</value>
        public int? ModifiedUserId { get; set; }

        
        /// <summary>
        /// 婚姻状况代码
        /// </summary>

        public string MarriedCode { get; set; }
        /// <summary>
        /// 学历
        /// </summary>
        public string EducationalBackgroundCode { get; set; }
        /// <summary>
        /// 学历
        /// </summary>
        public string DegreeCode { get; set; }
        /// <summary>
        /// 任职状况
        /// </summary>
        public string PostStateCode { get; set; }
        /// <summary>
        /// 职称
        /// </summary>
        public string PosttitleCode { get; set; }
    }
}
